package com.itshops.service;

import com.itshops.entity.Orders;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface OrderService {
    void crateOrder(String aid, String uid, String sum) throws SQLException, InvocationTargetException, IllegalAccessException;

    List<Orders> fianAll(int uid) throws SQLException, InvocationTargetException, IllegalAccessException;


    Orders findOrderByoid(String oid) throws SQLException, InvocationTargetException, IllegalAccessException;

    void updateOrderByOid(String oid) throws SQLException;
}
